package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 科技成果库对象 achievement_info
 * 
 * @author ruoyi
 * @date 2025-11-10
 */
public class AchievementInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 成果序号 */
    private Long id;

    /** 成果名称 */
    @Excel(name = "成果名称")
    private String achievementName;

    /** 成果类型 */
    @Excel(name = "成果类型")
    private String achievementType;

    /** 成果单位 */
    @Excel(name = "成果单位")
    private String achievementUnit;

    /** 发明人 */
    @Excel(name = "发明人")
    private String inventor;

    /** 成果登记时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "成果登记时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setAchievementName(String achievementName) 
    {
        this.achievementName = achievementName;
    }

    public String getAchievementName() 
    {
        return achievementName;
    }

    public void setAchievementType(String achievementType) 
    {
        this.achievementType = achievementType;
    }

    public String getAchievementType() 
    {
        return achievementType;
    }

    public void setAchievementUnit(String achievementUnit) 
    {
        this.achievementUnit = achievementUnit;
    }

    public String getAchievementUnit() 
    {
        return achievementUnit;
    }

    public void setInventor(String inventor) 
    {
        this.inventor = inventor;
    }

    public String getInventor() 
    {
        return inventor;
    }

    public void setRegisterTime(Date registerTime) 
    {
        this.registerTime = registerTime;
    }

    public Date getRegisterTime() 
    {
        return registerTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("achievementName", getAchievementName())
            .append("achievementType", getAchievementType())
            .append("achievementUnit", getAchievementUnit())
            .append("inventor", getInventor())
            .append("registerTime", getRegisterTime())
            .append("remark", getRemark())
            .toString();
    }
}
